package com.lanchetech.dao;

import com.lanchetech.bean.vo.KillSkuVO;
import com.lanchetech.entity.KillSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface KillSkuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(KillSku record);

    int insertSelective(KillSku record);

    KillSku selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(KillSku record);

    int updateByPrimaryKey(KillSku record);

    int updateBatch(List<KillSku> list);

    int updateBatchSelective(List<KillSku> list);

    int batchInsert(@Param("list") List<KillSku> list);

    List<KillSkuVO> findAllByActivityId(@Param("activityId") Long activityId);

    List<KillSku> findListByActivityId(@Param("activityId")Long activityId);

    int deleteByActivityId(@Param("activityId")Long activityId);


}